#
# ZFreq #0.07 by CyrIng
#
# Copyright (C) 2014 CYRIL INGENIERIE
# Licenses: GPL2
#

obj-m := zfreq_ring0.o
KVERSION = $(shell uname -r)
DESTDIR = $(HOME)

all:	zfreq
	make -C /lib/modules/$(KVERSION)/build M=${PWD} modules

clean:
	make -C /lib/modules/$(KVERSION)/build M=${PWD} clean
	rm zfreq
zfreq:	zfreq.o
	gcc -lpthread -o zfreq zfreq.c
zfreq.o: zfreq.c
	gcc -c zfreq.c -o zfreq.o
